
// const memberlist = resolve => require(['@/page/mix/member/memberlist.vue'],resolve);//用户管理
const userList = resolve => require(['@/page/m/userList.vue'],resolve);
const askList = resolve => require(['@/page/m/askList.vue'],resolve);
const askDetails = resolve => require(['@/page/m/askDetails.vue'],resolve);
const adminList = resolve => require(['@/page/m/adminList.vue'],resolve);
const adminEdit = resolve => require(['@/page/m/adminEdit.vue'],resolve);
const articleList = resolve => require(['@/page/m/articleList.vue'],resolve);
const articleDetails = resolve => require(['@/page/m/articleDetails.vue'],resolve);
const articleEdit = resolve => require(['@/page/m/articleEdit.vue'],resolve);
const mclassList = resolve => require(['@/page/m/classList.vue'],resolve);
const mclassEdit = resolve => require(['@/page/m/classEdit.vue'],resolve);

const M_ROUTER_INDEX = [
     {path: '/userList',name: 'userList',component: userList,meta:{title:'用户列表'}},
  {path: '/askList',name: 'askList',component: askList,meta:{title:'问诊列表'}},
  {path: '/askDetails',name: 'askList',component: askDetails,meta:{title:'问诊详情'}},
  {path: '/adminList',name: 'adminList',component: adminList,meta:{title:'成员列表'}},
  {path: '/adminEdit',name: 'adminEdit',component: adminEdit,meta:{title:'添加成员'}}, //包含编辑操作
  {path: '/articleList',name: 'articleList',component: articleList,meta:{title:'文章列表'}},
  {path: '/articleDetails',name: 'articleDetails',component: articleDetails,meta:{title:'文章详情'}},
  {path: '/articleEdit',name: 'articleEdit',component: articleEdit,meta:{title:'文章添加'}}, //包含编辑操作
  {path: '/mclassList',name: 'mclassList',component: mclassList,meta:{title:'资讯分类列表'}},
  {path: '/mclassEdit',name: 'mclassEdit',component: mclassEdit,meta:{title:'资讯分类添加'}}, //包含编辑操作
];

export default M_ROUTER_INDEX;
